Skip to content

Conversation

@adriaanm
Copy link
Contributor

@adriaanm adriaanm commented Feb 2, 2015

further refinement of #4, subsumes #21

@adriaanm adriaanm changed the title Add JVM selection parameters to PR jobs to retry with alternatives JVM Selection refinements Feb 2, 2015
Otherwise, it thinks it's installed even if some other version is...

Spurred by failure in
https://scala-ci.typesafe.com/job/scala-2.11.x-validate-publish-core/325/console:

```
+ source /usr/local/share/jvm/jvm-select
++ source /usr/local/share/jvm/jvm-select-common
+ jvmSelect oracle 6
+ flavor=oracle
+ version=6
++ arch
+ arch=x86_64
+ archSuffix=.x86_64
+ versionPrefix=1.
+ versionSuffix=.0
+ jvmSelectCommon
+ javaHome=/usr/lib/jvm/java-1.6.0-oracle.x86_64
+ /usr/lib/jvm/java-1.6.0-oracle.x86_64/bin/java -version
+ grep 'version.*1.6.0'
+ echo 'Failed to locate oracle Java 6. Available JVMs:'
Failed to locate oracle Java 6. Available JVMs:
+ find /usr/lib/jvm/ -name 'java-*.x86_64'
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.31-2.b13.5.amzn1.x86_64
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75.x86_64
/usr/lib/jvm/java-1.7.0-openjdk.x86_64
+ exit 1
```
@adriaanm
Copy link
Contributor Author

adriaanm commented Feb 5, 2015

I'm going to merge these improvements already.

adriaanm added a commit that referenced this pull request Feb 5, 2015
@adriaanm adriaanm merged commit 6917996 into scala:master Feb 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

multiple JDKs

1 participant